package com.example.librarymanagement.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author zjia
 */
@Data
@Accessors(chain = true)
@TableName("Book")
public class BookVo {

    @ApiModelProperty(value = "ID")
    @TableId
    private Integer id;

    @ApiModelProperty(value = "国际标准书号")
    private String isbn;

    @ApiModelProperty(value = "索书名")
    private String callNumber;

    @ApiModelProperty(value = "中文名")
    private String cName;

    @ApiModelProperty(value = "原名")
    private String name;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "译者")
    private String translator;

    @ApiModelProperty(value = "类别名称")
    private String typeName;

    @ApiModelProperty(value = "语种")
    private String languages;

    @ApiModelProperty(value = "出版社")
    private String press;

    @ApiModelProperty(value = "当前数量")
    private Integer count;

    @ApiModelProperty(value = "总数量")
    private Integer total;

    @ApiModelProperty(value = "破损数量")
    private Integer brokenCount;

}
